Published 2008-07-01 00:00:00

Another update on progress on RooJS (the ExtJS v1 Fork)
  • Form's now have CSS, so the dynamic form examples work quite well
    • The CSS was created by documenting how the existing examples where rendered in ExtJS - A document describing this was created (see form_design.svg in the css folder). Then that document was used to create a brand new CSS file. I believe this can be regarded as not breaking the copyright and having a reasonable reverse engineering process.
    • the x-box borders are missing, although not critical
    • the HTML editor needs to be fixed.

  • I have done the design diagram for CSS of the menu's and will be working on that soon.
  • The doc's are improving as well, The doc's appear to be listing all the correct elements now, future work will focus on tidying up the templates.
    • Most of the improvements came from replacing the Walker code in the jsdoctoolkit so that it understands scope in a similar way to the compressor. I also had to add a few extra comments in the source to give the documentation tool a few hints.
    • /** @scope Roo.somescope */ -- changes the scope in the documentation engine (as sometimes it just can not guess what the scope is.
    • /** @scopeAlias avar=Roo.xyz.prototype */ -- adds an alias to the parser engine alias map, so when it sees 'avar', it will replace it with Roo.xyz.prototype
  • The compresser is working well, someone asked on #roojs on freenode about using it for other code, including ExtJs2.0 - There should be no problem doing that - have a look at the bundle build file to see how to set up a builder for any project.
    • One thing to note is that the compresser uses hints when it sees 'eval'. The YUI compresser basically turns off compression for a large chunk of the code if it sees 'eval', I've added code to pick up a comment before the eval statement:
      • /** eval:var:abcd */ will turn variable compresion back on, and exclude 'abcd' from the list of variables to be compressed (use multiple eval:var:... statement on multiple lines to exclude multiple variables)
Anyway back to work tommorow, after celebrating (eg. doing nothing) the glorious reunification with the motherland day (HKSAR day)



Mentioned By:
ajaxian.com : Ajaxian » Ext 2.2: History, Selectors, FileUploader, and more (74 referals)
google.com : form css (58 referals)
google.com : roojs (45 referals)
www.planet-php.net : Planet PHP (31 referals)
google.com : december (25 referals)
www.phpeye.com : RooJS update - form CSS, better docs, and compressor eval hints. - Alan Knowles|PHP教程|PHP新闻|PHP5|PEAR|PHP框架|PHPEye - (21 referals)
www.urlfan.com : RooJS update - form CSS, better docs, and compressor eval hints. (://URLFAN) (14 referals)
regator.com : RooJS update - form CSS, better docs, and compressor eval hints. - Alan Knowles | related posts and comments (14 referals)
www.cnzxh.net : CNZXH.NET 关注基于Linux的开源应用 - RooJS update - form CSS, better docs, and compressor eval hints. - Alan Knowles (13 referals)
google.com : php update form (11 referals)
google.com : css form examples (10 referals)
google.com : CSS form (7 referals)
google.com : forms css (7 referals)
google.com : CSS FORMS (6 referals)
computer-internet.marc8.com : RooJS update - form CSS, better docs, and compressor eval hints.... | Computer & Internet (6 referals)
www.debian.org.hk : Planet DebianHK | Debian HK (5 referals)
google.com : CSS Update (5 referals)
google.com : google forms css (4 referals)
google.com : RooJS extjs (4 referals)
regator.com : Speedier google translate API for RooJs and ExtJS - Alan Knowles | related posts and comments (3 referals)

Add Your Comment